import { NetWork_Post, NetWork_Get } from './commonServer'

function login(bodydata, callback) {
  let netapi = 'login',
    reqError = {
      error: {
        code: '-1',
        msg: '登陆失败'
      }
    }
  NetWork_Post(netapi, bodydata, callback, reqError)
}

export { login }
